package com.zyq.pagehelper.mapper;

import com.zyq.pagehelper.entity.User;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper//如果在启动类上添加了@MapperScan()则可以省略@Mapper
public interface UserMapper {
    //@Select("select * from users where age>#{age}")
    List<User> getUserList(User user);
}